//
// package com.aaa.base.modules.visitor.aliyun;
//
// import com.alibaba.cloudapi.sdk.client.ApacheHttpClient;
// import com.alibaba.cloudapi.sdk.enums.HttpMethod;
// import com.alibaba.cloudapi.sdk.enums.Scheme;
// import com.alibaba.cloudapi.sdk.model.ApiCallback;
// import com.alibaba.cloudapi.sdk.model.ApiRequest;
// import com.alibaba.cloudapi.sdk.model.ApiResponse;
// import com.alibaba.cloudapi.sdk.model.HttpClientBuilderParams;
//
//
// public class HttpApiClient数据服务_5_1_身份证识别 extends ApacheHttpClient{
//     public final static String HOST = "dm-51.data.aliyun.com";
//     static HttpApiClient数据服务_5_1_身份证识别 instance = new HttpApiClient数据服务_5_1_身份证识别();
//     public static HttpApiClient数据服务_5_1_身份证识别 getInstance(){return instance;}
//
//     @Override
//     public void init(HttpClientBuilderParams httpClientBuilderParams){
//         httpClientBuilderParams.setScheme(Scheme.HTTP);
//         httpClientBuilderParams.setHost(HOST);
//         super.init(httpClientBuilderParams);
//     }
//
//
//
//
//     public void 印刷文字识别_身份证识别(byte[] body , ApiCallback callback) {
//         String path = "/rest/160601/ocr/ocr_idcard.json";
//         ApiRequest request = new ApiRequest(HttpMethod.POST_BODY , path, body);
//
//         sendAsyncRequest(request , callback);
//     }
//
//     public ApiResponse 印刷文字识别_身份证识别SyncMode(byte[] body) {
//         String path = "/rest/160601/ocr/ocr_idcard.json";
//         ApiRequest request = new ApiRequest(HttpMethod.POST_BODY , path, body);
//
//
//
//         return sendSyncRequest(request);
//     }
//
// }
